# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-ip
pkgver=20.02_git20200225
pkgrel=0
_commit="0e28eb36b9484150811fdc4b7cd02a49f9776df8"
pkgdesc="Mycroft AI official IP Skill - find the IP address of your Device"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-ifaddr"
source="https://github.com/mycroftai/skill-ip/archive/$_commit/skills-ip-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-ip-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-ip.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-ip.mycroftai/
}

sha512sums="4782a55a12a2e802d38c806938e5c30e2f36b31cf9e658d13b3ad6e9686bb0e53e0bdacb492af77a1c365caae211fcf7875052664a5eecc57e01ee875446561d  skills-ip-0e28eb36b9484150811fdc4b7cd02a49f9776df8.tar.gz"
